package edu.upol.paradise.compiler;

public class ParadiseCompilerSettings {
	
	public static enum OptimizationLevel {
		SAFETY_ON, SAFETY_OFF
	}
	
	private OptimizationLevel optiLevel = OptimizationLevel.SAFETY_ON;
	private boolean debug = false;

	public OptimizationLevel getOptiLevel() {
		return optiLevel;
	}

	public void setOptiLevel(OptimizationLevel optiLevel) {
		this.optiLevel = optiLevel;
	}
	
	public boolean isDebug() {
		return debug;
	}

	public void setDebug(boolean debug) {
		this.debug = debug;
	}

	public String toString(){
		String str = "ParadiseCompilerSettings[";
		str += "Optimization: " + optiLevel + "; ";
		str += "Debug: " + debug + "; ";
		return str + "]";
	}

}
